gdk/x11: Add annotations to improve GIR API
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 31 Jul 2020 17:11:23 +0000 (19:11 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 31 Jul 2020 18:56:36 +0000 (20:56 +0200)
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkglcontext-x11.c
gdk/x11/gdkmonitor-x11.c
gdk/x11/gdksurface-x11.c
gdk/x11/gdkx11display.h

index 92a3e7dbf11427552652a9a7db71396d4d3faa40..e895a07867f91dc280b5865f8309561776db3995 100644 (file)
@@ -1831,7 +1831,7 @@ gdk_x11_display_has_pending (GdkDisplay *display)
 
 /**
  * gdk_x11_display_get_default_group:
- * @display: a #GdkDisplay
+ * @display: (type GdkX11Display): a #GdkDisplay
  *
  * Returns the default group leader surface for all toplevel surfaces
  * on @display. This surface is implicitly created by GDK.
@@ -2773,7 +2773,7 @@ gdk_x11_display_get_max_request_size (GdkDisplay *display)
 
 /**
  * gdk_x11_display_get_screen:
- * @display: a #GdkX11Display
+ * @display: (type GdkX11Display): a #GdkX11Display
  *
  * Retrieves the #GdkX11Screen of the @display.
  *
@@ -2845,7 +2845,7 @@ gdk_x11_display_get_monitors (GdkDisplay *display)
 
 /**
  * gdk_x11_display_get_primary_monitor:
- * @self: a #GdkDisplay
+ * @display: (type GdkX11Display): a #GdkDisplay
  *
  * Gets the primary monitor for the display.
  *
@@ -2968,7 +2968,7 @@ gdk_x11_display_class_init (GdkX11DisplayClass * class)
 
   /**
    * GdkX11Display::xevent:
-   * @display: the object on which the signal is emitted
+   * @display: (type GdkX11Display): the object on which the signal is emitted
    * @xevent: a pointer to the XEvent to process
    *
    * The ::xevent signal is a low level signal that is emitted
index d3f6d7df42f9491c17a27053ddf311f203e75a97..d628dbcaf2eff2eedbb47da46e36ac2eae5c5547 100644 (file)
@@ -1511,7 +1511,7 @@ gdk_x11_display_make_gl_context_current (GdkDisplay   *display,
 
 /**
  * gdk_x11_display_get_glx_version:
- * @display: a #GdkDisplay
+ * @display: (type GdkX11Display): a #GdkDisplay
  * @major: (out): return location for the GLX major version
  * @minor: (out): return location for the GLX minor version
  *
index 8d7a4e5807d9862ee1d48bec2951bd9bd2a174d8..3227e0bd1ba9c9564c67e54dd1c851e205ded2ff 100644 (file)
@@ -63,7 +63,7 @@ gdk_monitor_has_fullscreen_window (GdkMonitor *monitor)
 
 /**
  * gdk_x11_monitor_get_workarea:
- * @monitor: a #GdkMonitor
+ * @monitor: (type GdkX11Monitor): a #GdkMonitor
  * @workarea: (out): a #GdkRectangle to be filled with
  *     the monitor workarea
  *
@@ -114,6 +114,10 @@ gdk_x11_monitor_class_init (GdkX11MonitorClass *class)
 {
 }
 
+/**
+ * gdk_x11_monitor_get_output:
+ * @monitor: (type GdkX11Monitor): a #GdkMonitor
+ */
 XID
 gdk_x11_monitor_get_output (GdkMonitor *monitor)
 {
index 9ca81d8e9f1c80e0f246764b03c1f27d18ac3316..d797368d794a19da78a5e1c1149f559461b53754 100644 (file)
@@ -3270,7 +3270,7 @@ gdk_x11_surface_unfullscreen (GdkSurface *surface)
 
 /**
  * gdk_x11_surface_get_group:
- * @surface: The #GdkSurface
+ * @surface: (type GdkX11Surface): The #GdkSurface
  *
  * Returns the group this surface belongs to.
  *
index 299864d2171947a58d6b2cfd93bcf677ed88e483..5c6a0c36e710f01669f7bc744c01f9618015ebb5 100644 (file)
@@ -106,7 +106,7 @@ GDK_AVAILABLE_IN_ALL
 GdkX11Screen *gdk_x11_display_get_screen (GdkDisplay *display);
 
 GDK_AVAILABLE_IN_ALL
-GdkMonitor * gdk_x11_display_get_primary_monitor (GdkDisplay *self);
+GdkMonitor * gdk_x11_display_get_primary_monitor (GdkDisplay *display);
 
 GDK_AVAILABLE_IN_ALL
 void        gdk_x11_display_grab              (GdkDisplay *display);